package hou.utils

import redis.clients.jedis.JedisPool

object JedisPools {
  val pool = new JedisPool("localhost",6379)
  def getRedis(index:Int=1) ={
     val jedis = pool.getResource
    jedis.select(index)
    jedis
  }
}
